<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${cmsNoticeSys.id}"  type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">标题：</label>
                            <div class="col-sm-8">
                                <input id="title" name="title" th:value="${cmsNoticeSys.title}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">标题图片：</label>
                            <div class="col-sm-8">
                                <div id="file_upload">
                                </div>
                                <div id="logo" style="padding: 5px;">
                                    <img th:src="${cmsNoticeSys.img}" style='height: 60px;width: 60px'>
                                    <i class="fa fa-close" onclick="$('#img').val('');$('#logo').html('');"></i>

                                </div>
                                <input type="hidden" id="img" name="img" th:value="${cmsNoticeSys.img}" >
                            </div>
                        </div>
                        <div class="form-group">
                            <input id="content" name="content" type="hidden"
                                   th:value="${cmsNoticeSys.content}"> <label
                                class="col-sm-3 control-label">内容：</label>
                            <div class="col-sm-8">
                                <div class="ibox-content no-padding">
                                    <div id="content_sn" class="summernote"></div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">显示状态：</label>
                            <div class="col-sm-8">
                                <label class="radio-inline"> <input
                                        th:field="*{cmsNoticeSys.status}" type="radio" name="status" value="0" />
                                    显示
                                </label> <label class="radio-inline"> <input
                                    th:field="*{cmsNoticeSys.status}" type="radio" name="status" value="1" />
                                隐藏
                            </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">作者：</label>
                            <div class="col-sm-8">
                                <input id="author" name="author" th:value="${cmsNoticeSys.author}" class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="/js/layui.js"></script>
<script type="text/javascript" src="/js/appjs/wx/cmsNoticeSys/edit.js">
</script>
</body>
</html>
